From: Matthew Leeds Date: Fri, 24 Apr 2020 21:42:52 +0000 (-0700) Subject: screenShield: Don't inhibit suspend during initial setup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~471 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a60d57ea1fc083940e3eea206c74d547e17c9bb6;p=gnome-shell.git screenShield: Don't inhibit suspend during initial setup Normally, we inhibit suspend while locking the screen. But in the session mode used for gnome-initial-setup locking is not supported, so in that case this inhibit call is pointless and should be avoided. Without this patch you get the following error when you suspend and resume during initial setup: JS ERROR: Error getting systemd inhibitor: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.login1.OperationInProgress: The operation inhibition has been requested for is already running _promisify/proto[asyncFunc]/ {